export default[
    {
        title: "产品模板编号",
        type:'text',
        key: "templateNumber",
        require:true,
        rules: [{ pattern: /^\w+$/, message: '只能输入字母、数字、下划线', trigger: 'blur' }],
        maxlength:32,
    },
    {
        title: "产品模板名称",
        type:'text',
        key: "templateName",
        placeholder:'输入产品模板名称',
        align: "center",
        require:true,
        maxlength:128,
    },
    {
        title: "模板类别",
        format:'',
        type:'singleSelect',
        key: "templateCategory",
        dicKey: 'templateCategory',
        require:true,
        tooltip: true
    },
    {
        title: "原子所属类型",
        type: "singleSelect",
        key:"atomShowType",
        align: "center",
        dicKey: 'atomShowType',
    },
    {
        title: "原子名称",
        key: "atomName",
        type:'text',
        align: "center"
    },
    {
        title: "控件类型",
        type: "singleSelect",
        key: "atomControlType",
        dicKey: 'atomControlType',
    },
    {
        title: "字典类型",
        key: "controlDictionaryType",
        type:'text',
        align: "center"
    },
    {
        title: "是否允许批量修改",
        type:'text',
        key: "isProductModify",
        dicKey: 'whetherStatus',
        tooltip: true
    },
    {
        title: "是否默认原子",
        type:'singleSelect',
        key: "atomIsDefault",
        dicKey: 'whetherStatus',
        tooltip: true
    },
    {
        title: "是否必填",
        type:'singleSelect',
        key: "isMust",
        dicKey: 'whetherStatus',
    },
    {
        title: "原子序号",
        type:'number',
        key: "atomSerialNumber"
    },
    {
        title: "操作",
        width: 280,
        type:'text',
        key: "action",
        align: "left",
        slot: "action"
    }
]
